package com.sy.pet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sy.pet.dto.UserQueryDTO;
import com.sy.pet.entity.User;
import com.sy.pet.vo.UserPageVo;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liangSY
 * @since 2024-09-04
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    IPage<UserPageVo> pageOfUser(Page<UserPageVo> page, UserQueryDTO dto);
}
